From b7eb044ef9d1e7b7e809d7a185a1e15fcdf73fe1 Mon Sep 17 00:00:00 2001 From: oliskoli Date: Thu, 22 Feb 2007 00:25:48 +0000 Subject: [PATCH] Don't return -1 in case of a bad date. -1 isn't a valid timestamp under win32. --- csv_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csv_util.c b/csv_util.c index 5eccf938c..3fe89dd1c 100644 --- a/csv_util.c +++ b/csv_util.c @@ -689,7 +689,7 @@ sscanftime( const char *s, const char *format, const int gmt ) return mktime(&stm); } - return -1; + return 0; } static time_t -- 2.30.2